package org.ssm.learn;

public class ThreadBackupB extends Thread {
    private TaskBackup taskPackup;

    public ThreadBackupB(TaskBackup taskPackup) {
        this.taskPackup = taskPackup;
    }

    @Override
    public void run() {
        super.run();
        taskPackup.backupB();
    }
}